/*    */ package handling.world;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ 
/*    */ public class CheaterData
/*    */   implements Serializable, Comparable<CheaterData> {
/*    */   private static final long serialVersionUID = -8733673311051249885L;
/*    */   private final int points;
/*    */   private final String info;
/*    */   
/*    */   public CheaterData(int points, String info) {
/* 12 */     this.points = points;
/* 13 */     this.info = info;
/*    */   }
/*    */   
/*    */   public String getInfo() {
/* 17 */     return this.info;
/*    */   }
/*    */   
/*    */   public int getPoints() {
/* 21 */     return this.points;
/*    */   }
/*    */ 
/*    */   
/*    */   public int compareTo(CheaterData o) {
/* 26 */     int thisVal = getPoints();
/* 27 */     int anotherVal = o.getPoints();
/* 28 */     return (thisVal < anotherVal) ? 1 : ((thisVal == anotherVal) ? 0 : -1);
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean equals(Object oth) {
/* 33 */     if (!(oth instanceof CheaterData)) {
/* 34 */       return false;
/*    */     }
/* 36 */     CheaterData obj = (CheaterData)oth;
/* 37 */     return (obj.points == this.points && obj.info.equals(this.info));
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\handling\world\CheaterData.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */